import request from '@/utils/request'

// 树状结构列表
export function standardTreeList(query) {
   return request({
      url: '/system/tree/list',
      method: 'get',
      params: query
   })
}

// 新增或修改树形
export function editStandardTree(data) {
   return request({
      url: '/system/tree/modify',
      method: 'post',
      data
   })
}

// 删除树形节点
export function removeStandardTree(query) {
   return request({
      url: '/system/tree/remove',
      method: 'delete',
      params: query
   })
}